<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
        <?php
        function creer_formulaire($form_id, $form_action, $form_method, $form_name="form1"){
            
       ?> 
        <form name="<?php echo $form_name; ?>" action="<?php echo $form_action; ?>" id="<?php echo $form_id; ?>" method="<?php echo $form_method; ?>">
            <div><textarea name="" id="formid"></textarea></div>
            <div><input type="radio" name="radio1" id="radio1"></div>
                <div><input type="radio" name="radio1" id="radio2">Oui</div>
                <div><button type="submit">Envoyer</button></div>
        </form>
<?php 
}

?>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
      <?php
      creer_formulaire("form1", "$", "post", "");
       ?>
  
       
     </body>
</html>
